package org.example.lys.list;

import com.alibaba.fastjson.JSON;
import com.beust.jcommander.internal.Lists;

import java.util.List;

/**
 * @author liyishan
 * @date 2025/1/8
 * @description
 */

public class TestLists {
    public static void main(String[] args) {
        List<String> list1= Lists.newArrayList();
        list1.add("1");
        list1.add("2");
        System.out.println("原始数据:"+ JSON.toJSON(list1));
        //System.out.println("引用数据:"+ JSON.toJSON(list111));
        //System.out.println("非引用数据:"+ JSON.toJSON(list1Copy));

    }
}
